package com.qyer.flume.util;

import org.apache.commons.lang3.ArrayUtils;
import org.apache.commons.lang3.RandomStringUtils;

/**
 * User: Z J Wu Date: 2015/05/15 Time: 14:22 Package: com.qyer.flume.util
 */
public class RandomContentFileGenerator {

  public static void main(String[] args) {
    int lines = 100;
    if (ArrayUtils.isNotEmpty(args)) {
      lines = Integer.parseInt(args[0]);
    }

    for (int i = 0; i < lines; i++) {
      System.out.println(RandomStringUtils.randomAlphanumeric(50));
    }
  }
}
